package application.client.data;

public class Client {
	
	int ClientID;
	 
	String company;
	String lastName;
	String firstName;
	String email;
	
	String phoneNumber;
	// Mo�liwe rozr�nienie na:
	// kom�rkowy	: xxx-xxx-xxx
	// Stacjonarny	: xx-xxx-xx-xx
	 
	Address address;
	
	/*********************************************************************/
	/*************************** Constructors ***************************/
	/*******************************************************************/
	
	public Client(String company, String lastName,
			String firstName, String email, String phoneNumber, Address adress) {
		super();
		this.company = company;
		this.lastName = lastName;
		this.firstName = firstName;
		this.email = email;
		this.phoneNumber = phoneNumber;
		this.address = adress;
	}
	
	public Client(int ClientID, String company, String lastName,
			String firstName, String email, String phoneNumber, Address address) {
		super();
		this.ClientID = ClientID;
		this.company = company;
		this.lastName = lastName;
		this.firstName = firstName;
		this.email = email;
		this.phoneNumber = phoneNumber;
		this.address = address;
	}
	
	
	/*********************************************************************/
	/********************** Getters 'n' Setters *************************/
	/*******************************************************************/
	
	public int getClientID() {
		return ClientID;
	}

	public void setClientID(int clientID) {
		ClientID = clientID;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public Address getAddress() {
		return address;
	}

	public void setAddress(Address address) {
		this.address = address;
	}
	
	/*********************************************************************/
	/**************************    Methods    ***************************/
	/*******************************************************************/
	
	public String toString() {
		return "Client nr " + ClientID + "\nFirma: " + company +
				"\nlastName: " + lastName + "\nImi�: " + firstName +
				"\nEmail: " + email +
				"\nNr telefonu: " + phoneNumber +
				"\n"+ address + "\n";
	}



		
	 
	 


}
